Skip to content

bpo-46483: change PurePath.__class_getitem__ to return GenericAlias#30822

Merged
isidentical merged 1 commit intopython:mainfrom
sobolevn:issue-46483
Jan 23, 2022
Merged

bpo-46483: change PurePath.__class_getitem__ to return GenericAlias#30822
isidentical merged 1 commit intopython:mainfrom
sobolevn:issue-46483

Conversation

@sobolevn
Copy link
Member

@sobolevn sobolevn commented Jan 23, 2022

def test_complex_symlinks_relative_dot_dot(self):
self._check_complex_symlinks(os.path.join('dirA', '..'))

def test_class_getitem(self):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test now works for all _BasePathTest subclasses, previously it was only checking PurePath.

@sobolevn
Copy link
Member Author

@kumaraditya303 thanks for the review and for the idea 😉

@isidentical
Copy link
Member

Thanks @sobolevn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants